package com.sss.hloster0205;

public class NoteBook {
	 char color;
	private int cpuType;

	public NoteBook() {
		super();
	}

	public NoteBook(char color, int cpuType) {
		super();
		this.color = color;
		this.cpuType = cpuType;
	}

	public void showAll() {
     System.out.println("笔记本的颜色为："+this.color+"  cpu的型号为："+this.cpuType);
	}

	public char getColor() {
		return color;
	}

	public void setColor(char color) {
		this.color = color;
	}

	public int getCpuType() {
		return cpuType;
	}

	public void setCpuType(int cpuType) {
		this.cpuType = cpuType;
	}

}
